<h1>Listing shangpins</h1>
<table>
  <tr>
    <th>Biaoti</th>
    <th>Neirong</th>
    <th>Pic</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
<% @shangpins.each do |shangpin| %>
  <tr>
    <td><%= shangpin.biaoti %></td>
    <td><%= shangpin.neirong %></td>
    <td><%= shangpin.pic %></td>
    <td><%= link_to 'Show', shangpin %></td>
    <td><%= link_to 'Edit', edit_shangpin_path(shangpin) %></td>
    <td><%= link_to 'Destroy', shangpin, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
  <%= will_paginate @Neirong %>
<br />
<%= link_to 'New shangpin', new_shangpin_path %>
